<template>
<span class="vp-tag">2.7.0</span>
<p>设置徽章点的偏移，格式是[左，顶部]， 代表状态点从左侧和默认位置顶部的偏移。</p>
  <el-badge class="item" :value="1" :offset="[10, 5]">
    <el-button> offset</el-button>
  </el-badge>
</template>

<style scoped>
.item {
  margin-top: 10px;
  margin-right: 30px;
}
</style>

<style scoped>
@import '../../assets/elementPlusDemo.css'
</style>